auto merge of #302 : alexcrichton/cargo/doc-test, r=wycats
authorbors <bors@rust-lang.org>
Wed, 6 Aug 2014 23:57:54 +0000 (23:57 +0000)
committerbors <bors@rust-lang.org>
Wed, 6 Aug 2014 23:57:54 +0000 (23:57 +0000)
Whenever `cargo test` is run and a testable library target is available, the doc
tests will be run. This can be opted out of with `test = false` as usual.

This is currently not super useful due to rust-lang/rust#16157, but I expect
that to be merged soon. In the meantime examples will need to `extern crate foo`
explicitly.

Closes #334

1  2 
src/cargo/ops/cargo_rustc/mod.rs
src/cargo/util/toml.rs

Simple merge
Simple merge